package com.definity.toolkit.service;

import java.util.List;

import com.definity.toolkit.domain.Domain;

public interface DataService<D extends Domain<?>> extends Service {

	List<D> listAll();

	D view(D domain);

	void delete(D domain);

	D save(D domain);

	List<D> find(String hql, Object... values);

}
